﻿namespace TriangleGames.TrainRes
{
    using System;

    [AttributeUsage(AttributeTargets.Class)]
    public sealed class ActionCategoryAttribute : Attribute
    {
        private readonly string category;

        public ActionCategoryAttribute(ActionCategory category)
        {
            this.category = category.ToString();
        }

        public ActionCategoryAttribute(string category)
        {
            this.category = category;
        }

        public string Category
        {
            get
            {
                return this.category;
            }
        }
    }
}

